Q3Error_IsFatalError
You can use theQ3Error_IsFatalError
function to determine whether an error is fatal.
TQ3Boolean Q3Error_IsFatalError (TQ3Error error);
error
- A code that indicates the type of error that has occurred.
DESCRIPTION
TheQ3Error_IsFatalError
function returns, as its function result, a Boolean value that indicates whether the error value specified by theerror
parameter is a fatal error (kQ3True
) or is not a fatal error (kQ3False
). You can callQ3Error_IsFatalError
from within an error-handling method or after having calledQ3Error_Get
to get an error directly. IfQ3Error_IsFatalError
returnskQ3True
, you should not call any other QuickDraw 3D routines. QuickDraw 3D executes a long jump when it encounters a fatal error; your application should terminate.Currently, QuickDraw 3D recognizes these errors as fatal:
kQ3ErrorInternalError kQ3ErrorNoRecovery